import request from "@/utils/request";

// 政策列表
export function getList() {
  return request({
    url: "/mbacms/advisory/list",
    method: "get"
  });
}
// 新增
export function getListup(query) {
  return request({
    url: "/mbacms/label",
    method: "post",
    data:query
  });
}
// 删除
export function getListdel(id) {
    return request({
      url: `/mbacms/label/${id}`,
      method: "delete",
    });
  }
// 修改
export function getListrep(query) {
  return request({
    url: '/mbacms/label',
    method: "put",
    data:query
  });
}
